package com.woniuxy.enums.order;

import lombok.Getter;

/**
 * @Author hq
 * @Date 2025/7/14$ 16:19$
 * @Description TODO
 * @Params $
 * @Return $
 **/
@Getter
public enum ShopOrderStatus {
    PENDING(1, "待支付"),
    PAID(2, "已支付"),
    SHIPPED(3, "已发货"),
    COMPLETED(4, "已完成"),
    CANCELED(5, "已取消"),
    REFUNDED(6, "已退款");

    private final int code;
    private final String description;

    ShopOrderStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
